//
//  Tools.h
//  分享demo
//
//  Created by pc-chtypd056 on 2018/8/6.
//  Copyright © 2018年 CTL. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface Tools : NSObject

/**
 获取当前viewController

 @param currentView 当前view
 @return 当前控制器
 */
+(UIViewController *)getCurrentViewController:(UIView *)currentView;

/**
 获取截屏图片

 @return 截屏图片
 */
+ (UIImage *)imageWithScreenshot;

@end
